package com.wyl.mybatis.mapper;

import com.wyl.mybatis.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description
 * @Author WuYiLong
 * @Date 2024/3/22 21:48
 */
@Mapper
public interface UserMapper {

    /**
     * 列表查询
     * @return
     */
    @Select("select * from public.user")
    List<User> selectList();

}